/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-09-15 14:54:02
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-09-15 15:10:20
 * @FilePath: \郭招娣\app\src\api\classLists.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { postUrl, getUrl, deleteUrl } from "@/utils/request";

// 获取文章列表
export const asyncClassLists = async (url, params) => await getUrl(url, params);
// 添加文章列表
export const asyncAddClassLists = async (url, params) => await postUrl(url, params);
// 删除文章列表
export const asyncDeleteClassLists = async (url, params) => await deleteUrl(url, params);